<!--
  Generated template for the TeacherSearchPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
     <ion-title>邀请美甲师</ion-title>
      
  </ion-navbar>

</ion-header>


<ion-content padding>
    <ion-item>
        <ion-label color="primary" fixed>美甲师ID:</ion-label>
        <ion-input class="input" type="text" [(ngModel)]="id" (ionBlur)="searchTeacher($event)"></ion-input>
    </ion-item>
    <ion-item [hidden]="flag">
      <ion-avatar item-start>
        <img src="{{picture}}{{teacherInfo.user_avator}}">
      </ion-avatar>
      <p>{{teacherInfo.user_nickname}}</p>
      <button ion-button color="danger" item-end (click)="a()">邀请入驻</button>
    </ion-item>
</ion-content>
